package com.zjsru.Service.impl;

import com.zjsru.Service.OrdersService;
import com.zjsru.dao.OrdersMapper;
import com.zjsru.domain.Orders;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@RequiredArgsConstructor
public class OrdersServiceImpl  implements OrdersService {
    private final OrdersMapper ordersMapper;
    @Override
    public List<Orders> queryAll(){
        return ordersMapper.findAll();
    }
}
